<?php
class PNSubcategoriesArray extends PNObjectArray {
  function PNSubcategoriesArray($init=null, $where='')
  {
    $this->PNObject();

    $this->_objType       = 'ishopstore_subcategories';
    $this->_objField      = 'id';
    $this->_objPath       = 'form';

    $this->_init($init, $where);
  }


  function genFilter(){
    $categories_id = FormUtil::getPassedValue ('categories_id', false);

    $where = "";
    if($categories_id){
      $where = "sct_categories_id  = ".$categories_id;
    }
    return $where;
  }



}
